﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace EjemploEF5.Models
{

    [Table("inscripcion")]

    public class Inscripcion
    {
        [Key] //Necesitamos determinar la clave para la BD
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }
        

        public virtual Materia materia { get; set; }
        public virtual Alumno alumno { get; set; }
        public double parcial1 { get; set; }
        public double parcial2 { get; set; }

    }
}